#include <stdio.h>
#include <string.h>
#include <unistd.h>

int main()
{
    const char* fstr = "hello fwrite";
    const char* str = "hello write";
    
    //c语言接口
    printf("hello printf");
    fprintf(stdout,"hello fprintf");
    fwrite(fstr,strlen(fstr),1,stdout);

    //操作系统提供的系统调用接口
    write(1,str,strlen(str));

    //close(1);
    //fork();
    return 0;

}
